#ifndef CHECKBOX_H
#define CHECKBOX_H
#include <string>
#include <SFML/Graphics.hpp>
#include "Globals.h"
#include "ResourceManager.h"

class CheckBox
{
    public:
        CheckBox(const std::string& txt, int x, int y);
        void draw(sf::RenderWindow* Window);
        bool isClicked(float x, float y);
        void checkHL(float x, float y);
        bool highlighted;
        bool toggled;

    private:
        sf::RectangleShape checkBox;
        sf::Text text;
};

#endif // CHECKBOX_H
